From: Jo-Philipp Wich Date: Wed, 15 Mar 2023 22:33:56 +0000 (+0100) Subject: luci-app-firewall: suppress lengthy masq description in zone table X-Git-Url: http://git.openwrt.org/%22https:/collectd.org//%22/%22https:/collectd.org/%22?a=commitdiff_plain;h=865201302c1ba430fac354780ff146a26720d693;p=project%2Fluci.git luci-app-firewall: suppress lengthy masq description in zone table Ensure that the description of the masquerade option does not end up in the grid section overview as it messes up the table layout. Fixes: c54efde717 ("luci-app-firewall: Add clarification to masquerading option") Signed-off-by: Jo-Philipp Wich (cherry picked from commit c0d4c0172529e060926e8fa00714bd9e8b567cb4) --- diff --git a/applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js b/applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js index 53a07b6fb1..e19e466e1b 100644 --- a/applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js +++ b/applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js @@ -95,6 +95,7 @@ return view.extend({ s.addremove = true; s.anonymous = true; s.sortable = true; + s.nodescriptions = true; s.handleRemove = function(section_id, ev) { return firewall.deleteZone(section_id).then(L.bind(function() {